<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <input id="input" type="text" name="username" value="..." />
    <script>
      // 同步
      const input = document.getElementById("input");
      setTimeout(() => {
        // input.type = "radio";
        // input.setAttribute("type", "radio");
        input.value = "hello lili";
        console.log(input.value);
        // console.log(input.getAttribute("value"));
      }, 5000);
    </script>
  </body>
</html>
